cmake_minimum_required(VERSION 3.5)
project(webrtc_base LANGUAGES CXX C)

include (../predefined.cmake)

include_directories(./ ../
)

set(RTC_BASE_SOURCE_LIST
    ./checks.cc
    ./experiments/field_trial_parser.cc
    ./logging.cc
    ./memory/aligned_malloc.cc
    ./platform_thread_types.cc
    ./race_checker.cc
    ./random.cc
    ./strings/string_builder.cc
    ./string_encode.cc
    ./string_to_number.cc
    ./string_utils.cc
    ./synchronization/mutex.cc
    # ./synchronization/mutex_benchmark.cc
    ./synchronization/yield.cc
    ./system/file_wrapper.cc
    ./system_time.cc
    ./time_utils.cc
)

add_library(webrtc_base SHARED ${RTC_BASE_SOURCE_LIST})
